//
//  InputView.m
//  TEst
//
//  Created by   丛熠超 on 2017/4/11.
//  Copyright © 2017年 Tongcheng. All rights reserved.
//

#import "InputView.h"

@implementation InputView

- (void)awakeFromNib {
    self.backgroundColor = [UIColor clearColor];
}
+ (instancetype)gainMineHeaderView
{
    return [[NSBundle mainBundle] loadNibNamed:@"InputView" owner:self options:nil].lastObject;
}

- (IBAction)chooseVIP:(UIButton *)sender {
    _isVip = YES;
    
    
}
- (IBAction)chooseSectret:(UIButton *)sender {
    _isVip = NO;
    
}
- (IBAction)chooseCancle:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(clickcancleBtn:)]) {
        [self.delegate clickcancleBtn:sender];
    }
    
}
- (IBAction)chooseSure:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(clicksureBtn:)]) {
        [self.delegate clicksureBtn:sender];
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
